const rules =  {
    name: [
      { required: true, message: '请输入仓库名称', trigger: 'change' },
      { min: 3, max: 20, message: '长度在 3 到 20 个字符', trigger: 'change' }
    ],
    address: [
        { required: true, message: '请输入仓库地址' },
        { min: 3, max: 20, message: '长度在 3 到 20 个字符', trigger: 'change' }
    ],
  }
    
  export default rules